package com.bci.pwtz.mysql.model;

public class ImportTemplateDef {
    private Long defId;

    private Long templateId;

    private String tableName;

    private String tableFieldName;

    private String excelColumnName;

    private String translateSql;

    private String sheetName;

    private String pkFieldName;

    private String pkExcelColumnName;

    public Long getDefId() {
        return defId;
    }

    public void setDefId(Long defId) {
        this.defId = defId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public String getTableFieldName() {
        return tableFieldName;
    }

    public void setTableFieldName(String tableFieldName) {
        this.tableFieldName = tableFieldName == null ? null : tableFieldName.trim();
    }

    public String getExcelColumnName() {
        return excelColumnName;
    }

    public void setExcelColumnName(String excelColumnName) {
        this.excelColumnName = excelColumnName == null ? null : excelColumnName.trim();
    }

    public String getTranslateSql() {
        return translateSql;
    }

    public void setTranslateSql(String translateSql) {
        this.translateSql = translateSql == null ? null : translateSql.trim();
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName == null ? null : sheetName.trim();
    }

    public String getPkFieldName() {
        return pkFieldName;
    }

    public void setPkFieldName(String pkFieldName) {
        this.pkFieldName = pkFieldName == null ? null : pkFieldName.trim();
    }

    public String getPkExcelColumnName() {
        return pkExcelColumnName;
    }

    public void setPkExcelColumnName(String pkExcelColumnName) {
        this.pkExcelColumnName = pkExcelColumnName == null ? null : pkExcelColumnName.trim();
    }

    @Override
    public String toString()
    {
        return "ImportTemplateDef [defId=" + defId + ", templateId=" + templateId + ", tableName=" + tableName + ", tableFieldName=" + tableFieldName + ", excelColumnName=" + excelColumnName + ", translateSql=" + translateSql + ", sheetName=" + sheetName + ", pkFieldName=" + pkFieldName + ", pkExcelColumnName=" + pkExcelColumnName + "]";
    }
    
    
}